Fix clearInput()