remove modules from index