[calendar_controller] bug fix