fixed using publish validation for comments on frontend to only take published comments