improve registration