I started putting dog diapers on my yorkie because I could not get him to stop peeing in my basement. Well now the diapers work fabulous

but now he poops anywhere in the house. Put it this way, I have stepped in it one too many times. He poops in doorways, my stairs etc... what is going on?