fix custom data grid