[#71] Fixed Fatal error: Call-time pass-by-reference has been removed

Signed-off-by: crynobone <crynobone@gmail.com>