corrected issue with setDefaults()