LZ-77 fix