fix bugs on 'Erp/QualityControl'