Fix some RLE helper and wrapper problem.