remove unused source material