fixing grid test