entering a ternary operator works correctly now.