fixed bugs in SendProcessing