Fixed bugs in urls.py