Removing a duplicated case