fixing tag saving