fix #15, tags are processed as case-insensitive