fixing wrong operator