Fix garbled text when expaning