getting dispatch to play nicely with the new pubsub