bug fix about formattedtextfield