remove call by ref