fix issue deleting user