FIx browser detection