cleanup and method for first init of app