bug fixed where bin numbers were converted as dec number
now compiles