refactored tasks_router to get rid of ghost views