bug on date and autocomplete