updated calendar sanitisation