change the string back to binary