Fix method "to"
Merge pull request #11 from kitek/master

Fix method "to"