fix the preg replace in decimal field