remove unrelated images