fixed small bug in receive script