deleting input when form submitted