fix Fatal error: Call-time pass-by-reference has been removed

Signed-off-by:Eric Villard <dev@eviweb.fr>
Merge pull request #5 from eviweb/fix-pass-by-reference

fix Fatal error: Call-time pass-by-reference has been removed