fixed invalid header