fixed a bug where %TAG isn't expanded
Merge pull request #29 from guest20/master

fixed a bug where %TAG isn't expanded