Fixed bug in route view