fix for duplicate tag found by favadi (github), fixes #2