Fix pass by reference value