fix ggi and gg on 10.7