Fixing datepicker.