remove unneccessary view