removes ref to missing file