updated conversion.

ouch.
Merge pull request #6 from xeaon/master

updated conversion.