Take out unnecessary gems