fixed manage_comments query