fix bug in archive gzip