Added error if no route is matched