device filtering and some fixes
allowing identifying the device by userAgent only