Fix wrong path for registration