fixed call by ref/value