fix issue forgot UNREGISTER_CLIENT