finish pass by ref value