removing unwanted text