correct mobile detection