471 Big Block high rpm problems

When you put it back together from the cam gear coming loose did you have you move the distributor for it to run?
All was out, so I just put the cam gear and distributor in like with new engine assembly. I put the #1 piston in tdc, and put the distributor in so it points to right terminal in the distributor cap.
Afterwards it started right up for the brake in process.