fix for non-english locale systems

previous fix didn't account for few special cases
Merge pull request #55 from imbalanced/Temp

fix for non-english locale systems