Fix use ternary notation