remove references to missing files