change all JSON.parse by try-catch