fix tagging output