copy config from wangyin