made autotag smarter