replace compress with process