fixed windows bug on auto-tag function.