fixing data grid