removing unwanted [