fix manual delete