un-hard-code the index server