fix error in staging.rb