[FIXED] Wrong use of passing by reference.