fixed routing issue and a typo