fixed bug in testsending2