remove redundant curry case