added check for openfin custom header