clean up register methods