remove defunct ternary operator