Fix: bug with partial header

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>