fix bug
support for py3's binary string
simple repr