@ GridHelper.cs: A bug fixed