Fixed crash on start