fixed deep copy of defaults issue