ensure the api call doesnt blow up