grid error fix