Fixes URL pattern