SWC-1128: support clean input