fixed errors on route task