Fixed call by reference notice/error