I really need some advice, I have a 4 month old yorkie who's name is Remington, and every time we put him in his kennel when we leave the house he goes number 2 in it and gets it all over the place

, i really don't know what to do. if someone has some pointers i would really appreciate it.
Thanks