fix staging construction code