calendar bug fixed