fix bug when class has 'send' method, use __send__