fix in calendar selection