fix tag errors