remove unnesessary data from page