Fixed crash on fresh install