fixed deleted user bugs