Removes input elements