change some vars about in api