removing extra contents