Fix bad generated date