added api fallback