add global defaults feature. fix #18

就用this吧