adjuusted max length for text boxes