Fixed issue with "route" button feature