fix bug in accouting set/reset & remove some files