compability issues on PHP 5.5.9
    * (fix) variables should be passed by reference.