Fixed issue #7 - Destroy grid function