fixed bug empty gridHistory