fixed app_delete