fix grid analyzer