remove some useless lines