fix toggle calendar