solving receive partial and redirect trouble