fix error of comperessing