Fixed: php 5.4 does not use reference calling