fix device selector for IE