r2: warning fix