fixing tag problems