made sure UI field lengths do not exceed DB field lengths