remove url pattern