fixed datalist issue on Safari