[core] cleaning unneeded gems