remvoe check url pattern logic