resetline adopting for illegal header