minor fixes to process_registry