fix TypeError: Object false has no method 'dispatch' when 'forward' is f...

...alse