fix bug at: Operator expand(const Operator &op)