fix base compress