fixed up date rendering