fixed typo in router class