fix errors on deck.rb as per gabe/josh comments