fixed locale
Fixed: Strict Standards: Only variables should be passed by reference
Merge pull request #3 from alter/master

Two fixes.