fix confirm code not shown