fix crash if no custom headers when launching a process