dynaroach unpack fixed, changed encoder code