Fix profile and register