refactor bind_send