receive remaining length acutally works now