fix invalid header handle #10