fix: should check tag value at index of srcmap.