fixed the events date issue