fixup! remove ternary operator