Grid error fix