fix stage-out directory