removed unregister call