remove all traces of uid system from C++