fix grid test