remove unnecessary pictures