fix grid generation