refine registration