Made HEX keys case-insensitive