put the right number in hex7