improve deletecomment management