fix UA mobile device detection