fixed error chan