fix PHP Strict Warning: Only variables should be passed by reference