fix setting header