What kind of headset are you describing?
Look here if not sure.
It sounds as you might have a threadless headset, since you describe a bolt at the top. Of so, it needs either a starnut, or expansion plug in the top of the steerer for the bolt to engage.