fixed bug in deploy.rb