clean class Input