fix user deletion error