fix assertion fail because of different decimal separator symbols in different locales