Solve datepicker