ops logic error