fixes some basic issues with events and cals