removes previous app specific stuff