fixed error when dispatcher disabled