fixed long header overflow