improvements in extracting registry info