Fix of pass by reference