fix "Strict Standards: Only variables should be passed by reference" error