changed server to index