fixing multiple HTTP header issue