shorten title for rake termapp:generate_data
fix bug when there are few posts in board