Removing duplicate case