added length limit for posts