[BUGFIX] Fixed pass-by-reference error.