fixed small bug in send causing nullpointer