rewritten deletion of applications