small fix for the datepicker