fix cascaded negate issue