fixed clearInput