fix broken binary format
Merge pull request #5 from andyque/addBinaryFormat

fix broken binary format