fixed problem when deleting comment