gem dependency conflict nightmare after switching to ruby 2
return nil instead of zero if the whole string is junk