fixed error event