Fixed a compatibility bug for the DW sheet.