added logic to cancel to "un-input" fields