fix capture image.