Whenever I take a transmission case off, I get a box and draw a rough plan on the lid of where the bolts fit which hold it on. I make a hole in the lid for each bolt and put it in its place as I remove it. That way, all the bolts end up in the right places. As they are often different lengths, this is important.