fix up date transforms