fix for NULL in datagrid