refine minor things