change restore text;fixbug