some flexgrid bug fixes