fix defaults merge bug