fix grid lines