minor bug fix in games.rb