If the hole you are referring to is in the front of the gearbox behind the sprocket then it should be threaded and have a screw in it which locates the selector shaft. When you had the gearbox apart you would have noticed the selector shaft had a groove around one end, that is where the screw locates.