fixed bug with localized decimal separator