roughly fix txt length perpage