remove all refs to components