revert changes for mobile OS detection