fix logic to add header