fix date type
did menage :p