standardize lengths of fields