decode only if py3