fixes compressibility for single phase runs. multi-phase to follow.