fixes compression