fix pass by reference typo