refactored tour-<id> className mandling