fix ErrorException

"Only variables should be passed by reference"
PHP 5.4.3