fixing confirm button