Removing unlinked sources