fix EventNotFound error code