changing 0x1 to 1