improve registration path