fixed bug with url