buggfix on confirm button