app crash fixed on JSON parsing error