fixed error not dispatching