pack/unpack binary and minor changes