removing remaining text