add header after open