fixing object compatibility with MobileDevice