bug fix requestHeaders for browser detection