grid displaying correctly finally