make ParseRoute() return err