fix for ruby 1.9.3
string fix
Merge pull request #4 from jlambert121/ruby_193_fixes

fix for ruby 1.9.3