Fix scope leak.