fixing the header nonsense