refine ip