fixed crash if you try to add an event not in your calendar