removing unwanted gem