Fixed php crying about passing references