fix setting default key
Merge pull request #45 from mistio/default_key_fix

fix setting default key