fix ampersand missing issue from text