fixing logic on op(0)