fixed delete function for comments, but comments/edit still broken