Fix for pass by ref strict error