component.grid: bug fix