fix an error in api returns