call by reference in IO::loadObjects