fix bug on accessing grid