fix for repeating multiple decimal dots