Bug fix: send() ternary expression