Fix header showing in hybrid directories