fixed bugs related gzip compression of gdata