Fix gem duplications