removes receiving functionparameters by reference since it is deprecated in PHP 5.3 and will throw an error in PHP 5.4