starting to cleanup the registration