fix error reported by EC