Fix delete_app