debugging CaptureImage 1.0.6