Add netindex support&minor bug fixes