fix the search in rop