Select grid fix (memory leak)