Fixed error in Router