fixed typo (register->registry)