added case invariance to tags