add compress fix expand