remove text from input works