Yeah, that's the unfortunate side of Puppy Motherhood. Javert used to do the same thing anytime he wasn't around people, and I don't think he ever stopped until he was grown up enough to realize that people not being in his sight does not equal people being GONE FOREVER OH NOEZ.
no subject