datepicker issue resolved