bug fixed in datepicker