Fix a bug

Operator overload must be global.