Hes not doing that on purpose. dogs dont pee and crap where they sleep. he hasnt learned to control his 'call of duties' yet is all. be patient.