managed to return correct string value from dec2bin