fix tags bug
Merge pull request #17 from paf31/master

fix bug with tags