correct exact grid and consolidate tags