clean some unused code, remove old version data files