[clion] hacks to get clion working
[coverity] some cleanup and add the chunky_index