Fixed the Registraion Closed Bug