fix erp sync bug