fix bug in deploy.rb