fixed #2 - TypeError exception
Merge pull request #3 from hamczu/hamczu

fixed #2 - TypeError exception