grid cleanup