fix loading events by date and ordering