remove some useless snippet