add register after unregister