version 3.6.1: require extend 1.2.1, fix the processing of defaults