fixed pass by reference issue