remove server and index