Fixed weird error with url routing not working