fixed sp_delete_release