delete uneccesary images