cleanup and isolate grid