cleaned up fix for multiple matched routes