support index ,fix #13