fix edit calendar