fix #3, tag related APIs