Fix bad date var