cleanup lambda const rule