Fix type mistakes
Merge pull request #1 from egisatoshi/develop

Fix type mistakes