fix truncation for software#header