fixed key error bug
Merge pull request #11 from xela7/master

Fixed key error bug