remove redundant case