clean up grid-model