updates bridge guard to use UA check, updates bridge to handle stringification exceptions