Isn't the top nut welded into the bed pocket? If the bolt isn't coming out, maybe the nut has come loose from the bed pocket. If so, you'll need to cut the bolt out (grind the head off), then reweld another nut inside he bed pocket to replace the hinge.