Removing tag detritus