fixed app startup