fixing multiple response header calls