Only thing which occurred to me is, does he usually "hold it" until the morning when he is released? Because at age 12, just like senior humans, he may not be able to "hold" it that long any more. And most dogs do NOT want to "go" in the cage.