fixed test and fixed saving tag with different name