fixed cases in hex codes