make class name check case insensitive