fix pass by reference issue