fixed issue with overlapping routes