fix exception on two successive rle runs