Added a check in the dispatcher for null controller, action and params