remove unnessessary images