fix issue when a user is removed