fix grid