clean some non-use code