fixed mock operation.