remove uneeded gems