CV_Assert for photo module corrected