Another outdated idea that will take time to die: borders.
If Mexicans or Guatemalans, say, could live comfortably at home there would be less compulsion to move to the USA. They might, of course, want to come here to be with relatives, or their relatives might go see them. No more coyotes, and the bus services would do better.
Trust me, I'm a doctor.