fix, ResEncoding was not written to output module anymore.