tidy up - dont need to store lowercase tag name
fixes #240 (and #237 in theory)
rebuilt