some validation of posts