fix date displaying