another fixed header var bug since moving it to util class