fix client receive