fix registration path