fix for when moving a tag around did not save properly