fix the deletion of comments