Two elements(doubles) appearing

some elements is doubled in inspector for my app. sometimes it doubled and sometimes not…as a rule it checkboxes or buttons. doubles have the same locations and the same all other parameters.
and i can’t find by xpath exactly element what i want because is one of elements have its copy(double) ordering fr xpaths is changed.

it’s really strange. some doubling can disappear after some actions.
all elements !isDisplayed() and isEnabled().
any ideas? what is it

i think it https://github.com/appium/appium/issues/2971 say that it’s xpath UI automation problem. not only for textfields

bug is still presents for buttons as i see