[postcfg] fix code