remove unused pattern in urls