header to config