Removing extra gems