a bug in index.c
minor update
statistic
fix a bug in CDS