Datepicker problem solved