fixed overaggressive xpath match