fixed bug in is_mobile boolean