supporting null dates when exporting