fix bin2dec base conv