arg by ref fixed