removing unwanted strings