init documentation
resolve bug index for boolean type