modified destroy server option