load tag data into tagd
bring query out of try-scope