delete contact error handling