enforce the tag name to be a string

fixes #10