Fixing bug when the header isn't present