fix tag exception