added length restriction to posts