changed to binary_to_integer/1

changed to binary_to_integer/1