change some codes location