fix a bug of init Simple Index