Fixed calendar bug.