small bug when no request headers were set