fixing the tag saving and display