fix bug combine index