fixing issues regarding header.Length