fix staging.rb