refine text