fix bug for operator