fix private variable, should be a hash
Merge pull request #1 from jbc22/master

$hash was a private variable, should be a hash