reference labels should be case insensitive