for py3 bytes -> str fix