fix call by reference fatal with php5.4+