fixed #6 added reconfirmation check