[config] fix config write
Merge remote-tracking branch 'origin/master'