fix error in overriding #mobile_device?