fix tagging method