Cleaning the project and fixing the settings