Fixes compression issues