Getting rid of extra gems