fix string parsing and add 'route_contains' function