made some ammends to url.py file