fix date fail