Small optimalization in manage_header tag