remove register text