remove some files from index, which is supposed to be public