Ternary fix