minor fix of url pattern translation