fixed 'to_str' method not found exception in 1.8.7
Merge pull request #11 from bigwheel/master

fixed 'to_str' method not found exception in 1.8.7