Fix strict standards pass by reference error