fixed staging.rb