remove ternary blob