close registration