get rid of unused components