remove html selection code