fixed a problm which compression_unit had been ignored