fixed one-tag-query problem