Is the dog neutered/spayed? A friend of mine had that problem and the vet said that the pee-pee "accidents" would stop once her dog was neutered. The dog stopped right after the surgery. It seemed to work for them.