fixed bug where events/tasks would not show up