fix header pitfall