fix partial send issue by using Begin() method