tags index added, locs fixed