Fixing the datepicker