improve registration format