fix grid render