fix issue with multiple http headers