Fix registry