Cleaning of application