ua detection fixed