Bug in controllerDispatcher