Fixed datepicker problem.