fix set_header