The way to prevent this from happening in the beginning is to not make a big deal of comings and goings, if *you* make a big deal, so will he. I have the same problem, and that's what the vet told me to do. But it's hard not to make a big deal when I come home and he's jumping around like a retard.... It's just too funny. At some point, I just stopped caring.