fix bug where events were being shown a day early