change compress api to public