fixed compress error