made a small version of pyodec.decode work