Fix length of text fields