Fix fail of logout
Merge pull request #122 from ykzts/hotfix/logout-fail

Fix fail of logout