You gotta show him who's boss. You have to hold the leash short until he follows your direction. When he behaves, loosen your grip on the leash and let him wander, and if he misbehaves, tighten it again. Eventually he'll figure out if he wants roaming room, he's gotta behave.