fixing grid demo