got header burning working and fixed the I/O problem