fix for api timing out.