revert ternary operator on language