code quality fix: api call context too complex because of equals