validations on post length