How to remove existing input field?