fixed crash/unsmooth behaviour on first app start