fix deploy.rb bug