update for opencv2.45