remove LocateRegistry