Bug in header input timing fixed.