nasty locale bug fix (thanks again, Blabos!)