fix binary number