fix to compression