use string comparison if route path is static