fix grid denominator