clearing of inputs