use applyDefaultsAndNormalize for trim and comments