cleanup components elements in index