Another small fix in stageout.