fix registry path