adds eq operator to last element
resolves conflicts