fix attributes for xpath query and fix issue on repetation keys index