fixed key access
Merge pull request #54 from jacobwagner/master

fixed key access