URL Helper toPathId correction