Fixing the datepicker.