make tag_trainer compatible with new python-goose