Put a splash of ammonia in each garbage bag before putting it out in the morning. We never used cans when I was growing up... just bags on the street. When a dog gets a punch in the nose from the ammonia, he won't come back to your garbage.