correct different varaible to match the API.