Corrected bug on UrlComponent removal