clear the text and images