restore correct grid line format