fixing starting the app