corrected the fetching of operator id