fix to prevent adding same value to header only once