fixed gridfield bug