Trying to fix api error.