remove some useless pathes