deleting innecesary images