Fixing apiOperation