fix user still can operate the system after delete