remove more warnings
suppress cgm output on apple