fix tag routing bug