next bad hack for history api + datalist autocomplete