clearing grid in constructor.