fix for calendar