trying fixing confirm problem