Fixed server delete bug