fix company mode config error