fix for header passing