Fixed output, removed string conversion
Merge pull request #48 from ly29/master

Bugfix list func