delete server code