fix tag inspection