fix stagetest