Fix crash when starting from fresh install