fix validate keys
Merge pull request #1 from expr/master

fix validate keys