fix delete_object