Fixed bug with url