fixed the display grid function