deleted debug image saving