Fixed crash bug that happen when the request fail to get a 200 success code