Request headers bugfix