delete some useless stuff, change some reference path