[Clean]clean several old code