need to take into account that plan might not be saved if calendar is not configured