fixed interleaved bug introduced by 70c6d