date displaying fix