clone fixes, save compressed data for writing later