fixed offset error for addOp