refine the arrow position