finish auto registration