A fixed for the previous bug, grid view initialisation.

A fixed for the previous bug, grid view initialisation.