remove unneeded gems