Fix strict standard

Strict standards: Only variables should be passed by reference