fix infoOnly function for mobile