debugging CaptureImage 5