remove some useless code make the page clear and simple