FIX py3k decoding