Fixed severe bug in Dispatcher.