close registeration