Fix wrong path to registration