modify operator.py