bug fix multiple confirmations