bug fix for deleted users