removing unused components