fixed bug in lz77V2