removing the unary operator from the input num to binary conversion