fixing problems detected while starting application