debugging CaptureImage 2