to add destructor for CImgCapController