delete unnecessary pictures