fix input overlapping by invalid XPath message