cast_header_temp