fix empty dates